package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_great_trade_salt_works", autoSave = true,uploadCk = true,desc = "大商途-盐场日志")
public class LogGreatTradeSaltWorks extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "盐场id")
    private int id;
    @FieldTypeAnnotation(desc = "0 出售 1 购买 2 自然流失 3 开采收益 4 查封")
    private int type;
    @FieldTypeAnnotation(desc = "开采方式")
    private int miningSpeed;
    @FieldTypeAnnotation(desc = "储量")
    private int reserves;
    @FieldTypeAnnotation(desc = "风险")
    private int risk;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;
    @FieldTypeAnnotation(desc = "收益")
    private String reward;
    @FieldTypeAnnotation(desc = "开局场次")
    private int times;


    public LogGreatTradeSaltWorks(long userId, int activityId, int id, int type, int miningSpeed, int reserves, int risk, String consume, String reward, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.id = id;
        this.type = type;
        this.miningSpeed = miningSpeed;
        this.reserves = reserves;
        this.risk = risk;
        this.consume = consume;
        this.reward = reward;
        this.times = times;

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getMiningSpeed() {
        return miningSpeed;
    }

    public void setMiningSpeed(int miningSpeed) {
        this.miningSpeed = miningSpeed;
    }

    public int getReserves() {
        return reserves;
    }

    public void setReserves(int reserves) {
        this.reserves = reserves;
    }

    public int getRisk() {
        return risk;
    }

    public void setRisk(int risk) {
        this.risk = risk;
    }

    public String getConsume() {
        return consume;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

}
